<?php

namespace app\health\model;

use think\Model;

class HealthGoodsCategory extends Model
{
    // 表名
    protected $name = 'health_goods_category';
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'datetime';
    // 定义时间戳字段名
    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';

    public function getIsEnableList()
    {
        return ['1' => __('Normal'), 0 => __('Hidden')];
    }
}
